package com.jiezhuo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author com.jiezhuo
 * @since 2022-10-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_gateway_info")
@ApiModel(value="GatewayInfo对象", description="")
public class GatewayInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("gatewayName")
    private String gatewayName;

    private String csq;

    @TableField("net_type")
    private String netType;

    private String clientlist;

    private String imsi;

    private String workmode;

    private String cellid;


    private String mac;

//    @TableField("sys_uptime")
    private String sysUptime;

    private String lac;

    private String wanip;

    private String iccid;

    private String mncmcc;

    private String gnss;

    @TableField("wan_bytes_tx")
    private String wanBytesTx;

    private String imei;

    private String model;

    private String firmware;

    @TableField("wan_bytes_rx")
    private String wanBytesRx;

    private String lanip;

    private String ipaddr;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField("createTime")
    private Date createTime;


}
